package com.uubx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;
/*
hxd
 */

@ApiModel(description = "Oder订单详情")
public class OderAllVo {

    //订单id
    @Column(name = "id")
    @ApiModelProperty("订单id")
    private Long id;

    //车牌号
    @Column(name = "car_number")
    @ApiModelProperty("车牌号")
    private String carNumber;

    //车架号
    @Column(name = "chassis_number")
    @ApiModelProperty("车架号")
    private String chassisNumber;

    //发动机号
    @Column(name = "engine")
    @ApiModelProperty("发动机号")
    private String engine;

    // 座位数
    @Column(name = "seat")
    @ApiModelProperty("座位数")
    private Long seat;

    //车主id
//    @Column(name = "id")
//    @ApiModelProperty(value = "车主id",hidden = true)
//    private Long carMasterId;

    //车主类型
    @Column(name = "car_type")
    @ApiModelProperty("车主类型")
    private String carType;

    //车主名字
    @Column(name = "name")
    @ApiModelProperty("车主名字")
    private String name;

    //证件类型
    @Column(name = "id_type")
    @ApiModelProperty("证件类型")
    private String idType;

    //证件号
    @Column(name = "id_card")
    @ApiModelProperty("证件号")
    private String idCard;

    //电话号码
    @Column(name = "phone")
    @ApiModelProperty("车主电话")
    private String phone;

    //地址
    @Column(name = "address")
    @ApiModelProperty("车主地址")
    private String address;

    //投保人id
//    @Column(name="id")
//    @ApiModelProperty(value = "投保人id",hidden = true)
//    private  Long customerId;

    //投保人类型
    @Column(name = "type")
    @ApiModelProperty("投保人类型")
    private String type;

    //投保人姓名
    @Column(name = "holder")
    @ApiModelProperty("投保人名字")
    private String holder;

    //投保人电话
    @Column(name = "phone_number")
    @ApiModelProperty("投保人电话")
    private String cuPhone;

    //投保人证件
    @Column(name = "phone_number")
    @ApiModelProperty("投保人证件号")
    private String idCardNumber;

    //投保人地址
    @Column(name = "address")
    @ApiModelProperty("投保人地址")
    private String cuAddress;

    //保险名字
    @Column(name = "name")
    @ApiModelProperty("保险名字")
    private String inName;


    //保险价格
    @Column(name = "price")
    @ApiModelProperty("保险价格")
    private BigDecimal price;

    //保险时间
    @Column(name = "plicy_start_time")
    @ApiModelProperty("保险时间")
    private Date time;

    //保险类型

    @Column(name = "type")
    @ApiModelProperty("保险类型，0交强险，1商业险")
    private Integer inType;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getChassisNumber() {
        return chassisNumber;
    }

    public void setChassisNumber(String chassisNumber) {
        this.chassisNumber = chassisNumber;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public Long getSeat() {
        return seat;
    }

    public void setSeat(Long seat) {
        this.seat = seat;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getHolder() {
        return holder;
    }

    public void setHolder(String holder) {
        this.holder = holder;
    }

    public String getCuPhone() {
        return cuPhone;
    }

    public void setCuPhone(String cuPhone) {
        this.cuPhone = cuPhone;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getCuAddress() {
        return cuAddress;
    }

    public void setCuAddress(String cuAddress) {
        this.cuAddress = cuAddress;
    }

    public String getInName() {
        return inName;
    }

    public void setInName(String inName) {
        this.inName = inName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getInType() {
        return inType;
    }

    public void setInType(Integer inType) {
        this.inType = inType;
    }
}